# _ * _ coding:utf-8 _ * _
from google.appengine.ext import db

class Note(db.Model):
    title = db.StringProperty(required=True, verbose_name=u"标题")    
    nickname = db.StringProperty(required=True, verbose_name=u"昵称")
    content = db.TextProperty(required=True, verbose_name="留言")
    datetime = db.DateTimeProperty(auto_now_add=True)
    ipaddress = db.StringProperty()
class article(db.Model):
    summery = db.StringProperty(required=True)
    title = db.StringProperty(required=True)
    content = db.TextProperty(required=True)
    datetime = db.DateProperty(required=True, auto_now_add=True)
    updatetime = db.DateProperty(required=True, auto_now_add=True)

class catalogue(db.Model):
    title = db.StringProperty(required=True)
    
class tags(db.Model):
    title = db.StringProperty(required=True)